package top.korori.sv.entity.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import top.korori.common.model.PageParam;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@ApiModel("用作品获取参数")
@Getter
@Setter
public class SvWorkGetBo extends PageParam implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "用户id不能为空")
    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("分类(0我的  2收藏 3喜欢)")
    private Integer category;

    @ApiModelProperty("查询排序(0最新 1点赞)")
    private Integer sort;

}
